package com.bytz.modules.cms.c4c.model;

import lombok.Getter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@Getter
@XmlRootElement(name = "entry", namespace = "http://www.w3.org/2005/Atom")
@XmlAccessorType(XmlAccessType.FIELD)
public class C4cXmlSalesQuoteResponse {

    @XmlElement(name = "content", namespace = "http://www.w3.org/2005/Atom")
    private Content content;

    @Getter
    public static class Content {
        @XmlElement(name = "properties", namespace = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata")
        private Properties properties;
    }

    @Getter
    public static class Properties {
        @XmlElement(name = "ID", namespace = "http://schemas.microsoft.com/ado/2007/08/dataservices")
        private String id;
        @XmlElement(name = "ObjectID", namespace = "http://schemas.microsoft.com/ado/2007/08/dataservices")
        private String objectId;
    }
}
